import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  { path: '/', name: 'Home', component: () => import('@/view/home/index.vue') },
  { path: '/login', name: 'Login', component: () => import('@/view/login/index.vue')}
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
